From: Carlos Garnacho Date: Fri, 1 Nov 2019 19:01:31 +0000 (+0100) Subject: padOsd: Add missing 'closed' signal X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~480 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4338ca5fd95b1bbe12285fa5a56d7f52e6e9de52;p=gnome-shell.git padOsd: Add missing 'closed' signal This wasn't added on the GObject-ification in commit c4c5c4fd5c. This introduced warnings and misbehaviors when closing the dialog. (Eg. pressing the "show OSD" pad action would show stack different dialogs on top each other). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/800 --- diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 1a09420a6..00a35497e 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -618,7 +618,10 @@ var PadDiagram = GObject.registerClass({ }); var PadOsd = GObject.registerClass({ - Signals: { 'pad-selected': { param_types: [Clutter.InputDevice.$gtype] } } + Signals: { + 'pad-selected': { param_types: [Clutter.InputDevice.$gtype] }, + 'closed': {} + } }, class PadOsd extends St.BoxLayout { _init(padDevice, settings, imagePath, editionMode, monitorIndex) { super._init({